Skip to content

migrate from inject to service named import in @ember/service - #1709

Open
jelhan wants to merge 1 commit into
ember-learn:mainfrom
jelhan:fix-inject-service-deprecation
Open

migrate from inject to service named import in @ember/service#1709
jelhan wants to merge 1 commit into
ember-learn:mainfrom
jelhan:fix-inject-service-deprecation

Conversation

@jelhan

@jelhan jelhan commented Aug 2, 2026

Copy link
Copy Markdown

The service named export has been added in v4.1 as an alternative to inject. The inject named export was deprecated in the v6 cycle and dropped in 7.0.

This should not be a breaking change as ember-cli-addon-docs already requires Ember v4.8+.

This is required for Ember v7 compatibility. But I have not tested if it is the only needed change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant